#ifndef _MT5_DEFIHE_H_
#define _MT5_DEFIHE_H_


enum TILE_TYPE
{
	TILE_NORMAL,
	TILE_HARD,
	TILE_UNMOVEABLEGEM,
	TILE_UNMOVEABLEGEM2,
	TILE_UNREACHABLE,
	TILE_UNREACHABLE2,
	TILE_COUNT,
};

enum GAME_TYPE
{
	GAMETYPE_UNKNOWN,
	GAMETYPE_MULTIPLAYER,

	GAMETYPE_SCORE_WITHMOVE,	
	GAMETYPE_CLEAR_TILES_WTIHMOVE,
	GAMETYPE_GETGEMSTOCOUNT_WITHMOVE,

	GAMETYPE_SCORE_WITHTIMEOUT,		
	GAMETYPE_CLEAR_TILES_TIMEOUT,
	GAMETYPE_GETGEMSTOCOUNT_WITHTIMEOUT,

	GAMETYPE_REACH_MOVECOUNT,	
	
	GAMETYPE_COUNT,
};

const static int		GEM_UNIQUE_COUNT = 7;
const static int		LEVEL_LAST = 100;
const static int		TUTORIAL_LAST = 6;

	

const static char*		ARROW_IMGS[]	= {
												"arrow_toright",
												"arrow_totop",
												"arrow_toleft",
												"arrow_tobottom",												
												
												"trail_lefttoright",
												"trail_toptobottom",

												"trail_lefttotop",
												"trail_lefttobottom",
												"trail_righttotop",	
												"trail_righttobottom"											

										};

const static char*  TOURNAMENT_IDS[] =
{  	"NPA23926321092678092", "NPA239263210931846528", "NPA239263210931918715", "NPA239263210931918738", "NPA239263210931918745",
    "NPA239263210931918754", "NPA239263210931918763", "NPA239263210931918770", "NPA239263210931918774", "NPA239263210931918777",
    "NPA239263210931919795", "NPA239263210931919813", "NPA239263210931919819", "NPA239263210931919838", "NPA239263210931919843",
    "NPA239263210931919855", "NPA239263210931919865", "NPA239263210931919871", "NPA239263210931919884", "NPA239263210931919896",
    "NPA239263210931919903", "NPA239263210931919910", "NPA239263210931919920", "NPA239263210931919929", "NPA239263210931919936",
    "NPA239263210931919940", "NPA239263210931919948", "NPA239263210931919957", "NPA239263210931919973", "NPA239263210931919981",
    "NPA239263210931919995", "NPA239263210931920007", "NPA239263210931920024", "NPA239263210931920041", "NPA239263210931920046",
    "NPA239263210931920058", "NPA239263210931920065", "NPA239263210931920073", "NPA239263210931920079", "NPA239263210931920090",
    "NPA239263210931920116", "NPA239263210931920127", "NPA239263210931920139", "NPA239263210931920150", "NPA239263210931920235",
    "NPA239263210931920253", "NPA239263210931920265", "NPA239263210931920278", "NPA239263210931920293", "NPA239263210931920306",
    "NPA239263210931920321", "NPA239263210931920333", "NPA239263210931920342", "NPA239263210931920358", "NPA239263210931920366",
    "NPA239263210931920377", "NPA239263210931920385", "NPA239263210931920394", "NPA239263210931920401", "NPA239263210931920411",
    "NPA239263210931920420", "NPA239263210931920428", "NPA239263210931920437", "NPA239263210931920440", "NPA239263210931920455",
    "NPA239263210931920464", "NPA239263210931920468", "NPA239263210931920473", "NPA239263210931920485", "NPA239263210931920496",
    "NPA239263210931920522", "NPA239263210931920530", "NPA239263210931920552", "NPA239263210931920563", "NPA239263210931920569",
    "NPA239263210931920577", "NPA239263210931920584", "NPA239263210931920594", "NPA239263210931920604", "NPA239263210931920613",
    "NPA239263210931920624", "NPA239263210931920638", "NPA239263210931920651", "NPA239263210931920664", "NPA239263210931920670",
    "NPA239263210931920683", "NPA239263210931920691", "NPA239263210931920702", "NPA239263210931920714", "NPA239263210931920724",
    "NPA239263210931920745", "NPA239263210931920759", "NPA239263210931920782", "NPA239263210931920866", "NPA239263210931920957",
    "NPA239263210931920968", "NPA239263210931920975", "NPA239263210931920982", "NPA239263210931920999", "NPA239263210931921031",
};

const int TEXTURE_WIDTH = 720;

const static int MAX_COUNT_X = 9;
const static int MAX_COUNT_Y = 9;


enum	RMS_TYPE
{

	RMS_NONE,
	
	RMS_ACH_GEMS7,		// 1
	RMS_ACH_GEMS8,		// 2
	RMS_ACH_GEMS9,		// 3
	RMS_ACH_GEMS10,		// 4
	RMS_ACH_GEMS11,		// 5
	RMS_ACH_GEMS12,		// 6
	RMS_ACH_GEMS13,		// 7

	RMS_ACH_DIR3,		// 8
	RMS_ACH_DIR4,		// 9

	RMS_ACH_COMBO3,		// 10
	RMS_ACH_COMBO4,		// 11
	RMS_ACH_COMBO5,		// 12

	RMS_ACH_COLORCOMBO2,	// 13
	RMS_ACH_COLORCOMBO3,	// 14

	RMS_ACH_TURN60,			// 15
	RMS_ACH_TURN80,			// 16
	RMS_ACH_TURN100,		// 17

	RMS_ACH_ENTIREROW,		// 18
	RMS_ACH_ENTIRECOL,		// 19
	RMS_ACH_MAINDIAGONAL, // 20

	RMS_ACH_CROSS,			// 21

	RMS_ACH_C,

	RMS_TUTORIAL,	
	RMS_LASTLEVEL,
	RMS_C,

};


#endif // _MT5_DEFIHE_H_